package cn.goktech.controller;

import cn.goktech.bean.Admin;
import cn.goktech.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import java.util.List;

@Controller
public class AdminController {
    @Autowired
    private AdminService adminService;
    public void selectList(){
        List<Admin> list = adminService.selectAll();
        System.out.println("list="+list);
    }
}
